package cn.edu.cdu.group4nb.mapper;

import cn.edu.cdu.group4nb.po.ProfessionalRank;
import cn.edu.cdu.group4nb.po.ProfessionalRankExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProfessionalRankMapper {
    int countByExample(ProfessionalRankExample example);

    int deleteByExample(ProfessionalRankExample example);

    int deleteByPrimaryKey(Integer rankId);

    int insert(ProfessionalRank record);

    int insertSelective(ProfessionalRank record);

    List<ProfessionalRank> selectByExample(ProfessionalRankExample example);

    int updateByExampleSelective(@Param("record") ProfessionalRank record, @Param("example") ProfessionalRankExample example);

    int updateByExample(@Param("record") ProfessionalRank record, @Param("example") ProfessionalRankExample example);
}